package com.tupu.mapper.admin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tupu.entity.admin.KnowledgeInfo;
import org.apache.ibatis.annotations.Select;


public interface KnowledgeListMapper extends BaseMapper<KnowledgeInfo> {

    //根据图谱id 查询图谱名称
    @Select("select name from knowledge_list where id = #{id};")
    String findName(Long id);
}
